From: Chong Yidong Date: Mon, 6 Feb 2012 13:59:13 +0000 (+0800) Subject: Another minor fix for next-single-char-property-change. X-Git-Tag: archive/raspbian/1%29.2+1-2+rpi1~1^2~324^2~903 X-Git-Url: https://dgit.raspbian.org/%22http:/www.example.com/cgi/%22https:/www.github.com/%22bookmarks:///%22http:/www.example.com/cgi/%22https:/www.github.com/%22bookmarks:/?a=commitdiff_plain;h=4d2ff50e3e7fa4e3a86ae9dbe9367543adeb5612;p=emacs.git Another minor fix for next-single-char-property-change. * gnus/gnus-sum.el (gnus-summary-show-thread): next-single-char-property-change never returns nil (Bug#8657). --- diff --git a/lisp/gnus/ChangeLog b/lisp/gnus/ChangeLog index d481c1910c3..61ea05984d0 100644 --- a/lisp/gnus/ChangeLog +++ b/lisp/gnus/ChangeLog @@ -1,3 +1,8 @@ +2012-02-06 Chong Yidong + + * gnus-sum.el (gnus-summary-show-thread): + next-single-char-property-change never returns nil (Bug#8657). + 2012-02-05 Lars Ingebrigtsen * nnimap.el (nnimap-open-server): Allow switching the nnoo server diff --git a/lisp/gnus/gnus-sum.el b/lisp/gnus/gnus-sum.el index d0a582e2712..7b234a3df22 100644 --- a/lisp/gnus/gnus-sum.el +++ b/lisp/gnus/gnus-sum.el @@ -11579,8 +11579,7 @@ Returns nil if no thread was there to be shown." (beg (progn (beginning-of-line) (if (bobp) (point) (1- (point))))) (eoi (when end (if (fboundp 'next-single-char-property-change) - (or (next-single-char-property-change end 'invisible) - (point-max)) + (next-single-char-property-change end 'invisible) (while (progn (end-of-line 2) (and (not (eobp))